package com.ruoyi.house_sale.service;

import java.util.List;
import com.ruoyi.house_sale.domain.WorkProcess;

/**
 * 办理进度Service接口
 *
 * @author ruoyi
 * @date 2022-04-08
 */
public interface IWorkProcessService
{
    /**
     * 查询办理进度
     *
     * @param processid 办理进度主键
     * @return 办理进度
     */
    public WorkProcess selectWorkProcessByProcessid(Long processid);

    /**
     * 查询办理进度列表
     *
     * @param workProcess 办理进度
     * @return 办理进度集合
     */
    public List<WorkProcess> selectWorkProcessList(WorkProcess workProcess);

    /**
     * 新增办理进度
     *
     * @param workProcess 办理进度
     * @return 结果
     */
    public int insertWorkProcess(WorkProcess workProcess);

    /**
     * 修改办理进度
     *
     * @param workProcess 办理进度
     * @return 结果
     */
    public int updateWorkProcess(WorkProcess workProcess);

    /**
     * 批量删除办理进度
     *
     * @param processids 需要删除的办理进度主键集合
     * @return 结果
     */
    public int deleteWorkProcessByProcessids(Long[] processids);

    /**
     * 删除办理进度信息
     *
     * @param processid 办理进度主键
     * @return 结果
     */
    public int deleteWorkProcessByProcessid(Long processid);
}
